package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.example.mapper")/*扫描mybatis接口层，扫描mapper文件夹中的所有 加入到容器里面去*/
public class SpringbootApplication {
    /*启动类*/
    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
    }

}
